$(function (){
	var map = new BMap.Map("map");
	var point = new BMap.Point(114.228242, 30.605721);
    map.centerAndZoom(new BMap.Point(114.210, 30.617), 15);
	var marker = new BMap.Marker(point); 
	map.addOverlay(marker);
	map.addControl(new BMap.ScaleControl());
	map.addControl(new BMap.OverviewMapControl());
	map.enableScrollWheelZoom(true); 
	marker.addEventListener("click",getAttr);
	var label = new BMap.Label("木兮地板湖北营销中心",{offset:new BMap.Size(20,-10)});
    marker.setLabel(label);
    var opts = {type: BMAP_NAVIGATION_CONTROL_LARGE}    
    map.addControl(new BMap.NavigationControl(opts));

	function getAttr(){
	    alert("木兮地板湖北营销中心");
	}
})